import request from '@/utils/request'


//  添加参数
export function addCategoryParams(data){
  return request({
    url: '/manager/goods/category/parameters',
    method: 'post',
    data: data
  })
}

//  编辑参数
export function editCategoryParams(data){
  return request({
    url: '/manager/goods/category/parameters',
    method: 'put',
    data: data
  })
}

// 删除参数
export function delCategoryParams(ids) {
  return request({
    url: '/manager/goods/category/parameters/' + ids,
    method: 'delete'
  })
}
